package com.chixing.day09_innerclass.order;

public class OrderTest {
    public static void main(String[] args) {
        Order  order1 =  new PersonalOrder(778899,"smith",30000,3500,"2022-5-1");
        Order  order2 =  new EnterpriseOrder(112233,"苏州华为",500000,1500,"2022-6-1");
        Order  order3 =  new GoveOrder(998888,"苏州政府",1000000,4200,"2022-7-1");

        Order[] orderArr = OrderProcessUtil.process(order3);
        for (int i = 0; i < orderArr.length; i++) {
            System.out.println(orderArr[i]);
        }


    }
}
